<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>views</h3>
<form action="" method="post">
    <label>
        {% csrf_token %}
        <input type="text" name="user" value="aa">
    </label>
    <br>
    <label>Male
        <input type="radio" name="sex" id="male" value="male"><br>
    </label>
    <label for="female">Female</label>
    <input type="radio" name="sex" id="female" value="female"><br><br>
    <input type="submit" value="提交">
</form>
</body>
</html>